tournament

  • function
 

Informs Bookshelf.js that the homeTeam property will be a Tournament model with an id that matches the tournamentId specified in the query.

game.tournament()

Informs Bookshelf.js that the homeTeam property will be a Tournament model with an id that matches the tournamentId specified in the query.